#pragma once
#include "SingletonWindow.h"


class MainMenuWindow : public SingletonWindow<MainMenuWindow>
{
public:
	MainMenuWindow();
	~MainMenuWindow();

	void UpdateUIStatus();
	
protected:
	virtual bool OnOpen();
	virtual void OnDestory();

private:
	const int mReturnLogin;

	CDXUTButton* mJoinGameButton;
	CDXUTButton* mCreateGameButton;
	CDXUTButton* mLadderButton;
	CDXUTButton* mMyMapButton;

	bool OnJoinGameClicked(CDXUTControl*);
	bool OnCreateGameClicked(CDXUTControl*);
	bool OnLadderClicked(CDXUTControl*);
	bool OnMyMapClicked(CDXUTControl*);
	bool OnReturnLoginClicked(CDXUTControl*);
};

